package main

import (
	"fmt"
	"qkl/blockchain"
)

func main() {
	bc := blockchain.NewBlocksChain()
	bc.AddBlock("1->30")
	for _, b := range bc.Blocks {
		fmt.Printf("%s\n", b.Data)
		fmt.Printf("%x\n", b.Hash)
	}

}
